.infoCard {
  margin-top: 20px;
  box-shadow: none;

  &:nth-child(1) {
    margin-top: 0;
  }

  &:global(.ant-card) {
    &:hover {
      border-style: hidden;
    }
  }
}

.infoCardWrapper {
  display: grid;
  padding: 10px;
  align-items: center;
  width: 100%;
  color: #8c8c8c;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 3fr) 2fr;
}

.infoCardMain {
  display: flex;
  align-items: center;
  max-width: 90%;

  .infoCardDetail {
    margin-left: 24px;
    overflow: hidden;
    text-overflow: ellipsis;

    h5 {
      margin: 0;
      margin-bottom: 8px;
      color: #262626;
      font-size: 16px;
      font-weight: 500;
      padding: 0;
    }

    p {
      text-overflow: ellipsis;
      word-break: break-word;
      overflow: hidden;
      white-space: nowrap;
      margin: 0;
      padding: 0;
    }
  }

  .cardIcon {
    min-width: 44px;
  }
}

.infoCardDetailDiv {
  display: flex;
  align-items: center;
}

.infoCardRightSection {
  display: flex;
  align-items: center;
  margin-left: 20px;
  justify-content: flex-end;

  > div {
    &:first-child {
      display: grid;
      align-items: center;
      width: 90%;
      grid-auto-rows: min-content;
      grid-template-columns: repeat(4, 1fr);

      h5 {
        color: #bfbfbf;
        font-size: 14px;
        font-weight: 400;
        margin: 0;
        margin-bottom: 8px;
        padding: 0;
      }

      p {
        color: #595959;
        font-size: 18px;
        font-weight: 400;
        text-align: left;
        margin: 0;
        padding: 0;
        min-height: 28px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      div {
        max-width: 120px;
        white-space: nowrap;
      }
    }
  }
}
